<!--
 * @Description:
 * @version:
 * @Author: 尹鹏孝
 * @Date: 2023-03-06 15:18:46
 * @LastEditors: 尹鹏孝
 * @LastEditTime: 2023-03-06 15:19:03
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>事件</title>
</head>
<body>
$emit
$on

<input :value="searchText" @input="searchText = $event.target.value" />

<script>
    var searchText=123;
</script>
</body>
</html>